package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangge
 * @since 2020-09-10
 */
@TableName("gcg_mould_subtable_msg")
public class MouldSubtableMsg implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Integer id;

    /**
     * 父级id
     */
    @TableField("pid")
    private Long pid;

    /**
     * 行
     */
    @TableField("rows")
    private Integer rows;

    /**
     * 列
     */
    @TableField("cols")
    private Integer cols;

    /**
     * 工程id
     */
    @TableField("pro_id")
    private Integer proId;

    /**
     * 值
     */
    @TableField("data")
    private String data;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getCols() {
        return cols;
    }

    public void setCols(Integer cols) {
        this.cols = cols;
    }

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "MouldSubtableMsg{" +
        "id=" + id +
        ", pid=" + pid +
        ", rows=" + rows +
        ", cols=" + cols +
        ", proId=" + proId +
        ", data=" + data +
        "}";
    }
}
